]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
11 years agologinDialog: display banner message when disable-user-list=true
Ray Strode [Tue, 11 Nov 2014 14:11:01 +0000 (09:11 -0500)]
loginDialog: display banner message when disable-user-list=true

The login screen supports showing a banner message which admins
can use to mention login rules or disclaimers.

This message only shows up currently if the user list is enabled.
Most people who want to show a banner message also want to disable
the user list.

This commit moves the banner message to display when the user is
prompted for login credentials instead of when showing the user
list. It also adds a scrollbar if the message is too long.

https://bugzilla.gnome.org/show_bug.cgi?id=703972

11 years agologinDialog: allocate children manually
Ray Strode [Mon, 10 Nov 2014 19:36:07 +0000 (14:36 -0500)]
loginDialog: allocate children manually

The login screen is pretty custom full screen container and the standard
layout managers aren't really a good fit for the kind of layout that's
happening. This will be even more problematic with upcoming changes
to login banners, so we need to switch techniques.

This commit moves login dialog over to using a custom allocate handler
that has specific domain knowledge of the parts of the login screen
and where they go.

https://bugzilla.gnome.org/show_bug.cgi?id=703972

11 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Thu, 18 Dec 2014 00:40:51 +0000 (00:40 +0000)]
Updated Kazakh translation

11 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Wed, 17 Dec 2014 15:31:51 +0000 (16:31 +0100)]
Updated Basque language

11 years agoCalendar: ignore timeouts starting the calendar-server
Giovanni Campagna [Thu, 11 Dec 2014 00:41:48 +0000 (16:41 -0800)]
Calendar: ignore timeouts starting the calendar-server

In certain cases the timeout for starting the calendar helper can
be reached but the calendar helper still loads fine. If so, just
ignore the timeout and wait until we get a notification from
dbus of the successful start.

https://bugzilla.gnome.org/show_bug.cgi?id=735308

11 years agocalendar-server: activate evolution-source-registry manually at startup
Giovanni Campagna [Thu, 11 Dec 2014 00:32:17 +0000 (16:32 -0800)]
calendar-server: activate evolution-source-registry manually at startup

g_dbus_proxy_new() (and library calls that wrap it) has an hardcoded
timeout of 25 seconds, which is insufficient for starting up e-s-r
in certain setups. Avoid a timeout error by starting the service
manually with a longer timeout before hand.
Also demote the error to a warning + exit failure instead of
a crash, to avoid triggering abrt reports.

https://bugzilla.gnome.org/show_bug.cgi?id=735308

11 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Sun, 14 Dec 2014 14:08:39 +0000 (14:08 +0000)]
Updated Kazakh translation

11 years agoUpdated Turkish translation
Muhammet Kara [Sat, 13 Dec 2014 17:46:23 +0000 (17:46 +0000)]
Updated Turkish translation

11 years agoUpdated Swedish translation
Josef Andersson [Thu, 11 Dec 2014 19:06:46 +0000 (19:06 +0000)]
Updated Swedish translation

11 years agoFix typo
Florian Müllner [Sat, 29 Nov 2014 18:05:11 +0000 (19:05 +0100)]
Fix typo

11 years agoUpdated Hungarian translation
Balázs Úr [Sun, 30 Nov 2014 15:31:24 +0000 (15:31 +0000)]
Updated Hungarian translation

11 years agotheme: Add high-contrast variant
Florian Müllner [Sat, 29 Nov 2014 15:04:14 +0000 (15:04 +0000)]
theme: Add high-contrast variant

For now, simply enforce symbolic icons.

https://bugzilla.gnome.org/show_bug.cgi?id=740447

11 years agoapp: Respect icon-style for faded icon texture
Florian Müllner [Sat, 29 Nov 2014 15:52:37 +0000 (15:52 +0000)]
app: Respect icon-style for faded icon texture

Just like regular application icons, the faded icon texture used
in the app menu should follow the theme's icon style setting.

https://bugzilla.gnome.org/show_bug.cgi?id=740447

11 years agoapp: Use StIcon as icon_texture when loading from a GIcon
Florian Müllner [Sat, 29 Nov 2014 00:25:04 +0000 (00:25 +0000)]
app: Use StIcon as icon_texture when loading from a GIcon

Themes - namely the HighContrast one - may now request symbolic
icons rather than fullcolor ones. In order to have recoloring
work as expected in that case, we will need a theme node to pick
up colors from - using an StIcon instead of manually loading a
texture from the cache gives us that for free, so do that.

https://bugzilla.gnome.org/show_bug.cgi?id=740447

11 years agost-theme-node: Add support for -st-icon-style property
Florian Müllner [Sat, 29 Nov 2014 14:53:36 +0000 (14:53 +0000)]
st-theme-node: Add support for -st-icon-style property

GTK+ added support for a -gtk-icon-style property in themes to
enforce a particular icon style. Do the same for shell themes
with an -st-icon-style property, with the same set of possible
values as the GTK+ variant:
  'requested' - use symbolic or fullcolor icon depending on the
                icon name (default)
  'regular'   - enforce fullcolor icons
  'symbolic'  - enforce symbolic icons

https://bugzilla.gnome.org/show_bug.cgi?id=740447

11 years agost-texture-cache: Remove load_gicon_with_colors()
Florian Müllner [Sat, 29 Nov 2014 14:43:50 +0000 (14:43 +0000)]
st-texture-cache: Remove load_gicon_with_colors()

The split between st_texture_cache_load_gicon() and load_gicon_with_colors()
no longer makes any sense, so just move the code into the public method.

https://bugzilla.gnome.org/show_bug.cgi?id=740447

11 years agomain: Add support for -high-contrast theme variants
Florian Müllner [Sat, 29 Nov 2014 13:37:19 +0000 (13:37 +0000)]
main: Add support for -high-contrast theme variants

While the default Shell style is fairly decent with regard to
accessibility requirements, having the ability to tweak certain
aspects where the regular style works less well is still useful.
For this purpose, try to load a -high-contrast theme variant of
the default stylesheet when a high-contrast theme is requested
(as determined by the GTK+ theme name).

https://bugzilla.gnome.org/show_bug.cgi?id=740447

11 years agooverview: Set _shown before calling _animateNotVisible
Jasper St. Pierre [Thu, 27 Nov 2014 02:05:36 +0000 (18:05 -0800)]
overview: Set _shown before calling _animateNotVisible

_hideDone checks _shown to determine if anything has shown the overview
while we hid it, and if so, shows the overview forward just in case.

In a local patch that called _hideDone immediately inside _hide for
testing, this broke. While we don't actually depend on this anywhere,
it doesn't hurt so that the next person to hack this up (perhaps me!)
doesn't get stuck debugging it for 20 minutes.

11 years agoUpdate .gitignore
Florian Müllner [Thu, 27 Nov 2014 20:00:36 +0000 (21:00 +0100)]
Update .gitignore

11 years agomain: Fix unsetting of custom stylesheets
Florian Müllner [Thu, 27 Nov 2014 14:24:49 +0000 (14:24 +0000)]
main: Fix unsetting of custom stylesheets

Since moving to a GFile based API in commit 642bf2b7782819,
setThemeStylesheet() no longer accepts %null to revert to
the default theme. We should have some way to revert to the
default and the least intrusive option is to return to the
old behavior, so do that.

11 years agomain: Update doc comment
Florian Müllner [Thu, 27 Nov 2014 14:43:03 +0000 (14:43 +0000)]
main: Update doc comment

11 years agoBump version to 3.15.2
Florian Müllner [Thu, 27 Nov 2014 13:56:26 +0000 (13:56 +0000)]
Bump version to 3.15.2

Update NEWS.

11 years agobuild: Add org.gtk.Application.xml to distfiles
Florian Müllner [Thu, 27 Nov 2014 14:04:43 +0000 (14:04 +0000)]
build: Add org.gtk.Application.xml to distfiles

11 years agocalendar: Stop computing week number ourselves
Florian Müllner [Thu, 13 Nov 2014 15:14:56 +0000 (15:14 +0000)]
calendar: Stop computing week number ourselves

Correctly computing the ISO week number is tricky and we already
have code in the platform to do it, so just refer its computation
to GDateTime rather than doing it ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=736722

11 years agoswitcher: Remove some unused variables
Florian Müllner [Fri, 7 Nov 2014 17:35:24 +0000 (17:35 +0000)]
switcher: Remove some unused variables

11 years agoAdd busy property to ShellApp
Phillip Wood [Tue, 16 Sep 2014 10:08:19 +0000 (11:08 +0100)]
Add busy property to ShellApp

Using a separate property to show when the application is busy rather
than cramming it into the state property makes the code clearer. In most
places we only care if an app is running or not, not whether it is
actually busy.

https://bugzilla.gnome.org/show_bug.cgi?id=736492

11 years agoUse org.gtk.Application proxy to monitor app's busy state
Phillip Wood [Tue, 16 Sep 2014 10:05:52 +0000 (11:05 +0100)]
Use org.gtk.Application proxy to monitor app's busy state

This simplifies the code and fixes a race where an application could
call g_application_mark_busy() before the shell subscribed to change
notifications on the application's busy state.

https://bugzilla.gnome.org/show_bug.cgi?id=736492

11 years agoGenerate GDBus proxy object for org.gtk.Application
Phillip Wood [Thu, 18 Sep 2014 11:15:06 +0000 (12:15 +0100)]
Generate GDBus proxy object for org.gtk.Application

Having a proxy object will make it easier to monitor the application's
busy state.

This adds a dependency on gdbus-codegen

https://bugzilla.gnome.org/show_bug.cgi?id=736492

11 years agoshell-gtk-embed: Remove old hack workaround for a mutter bug
Jasper St. Pierre [Wed, 26 Nov 2014 20:52:48 +0000 (12:52 -0800)]
shell-gtk-embed: Remove old hack workaround for a mutter bug

The window actor shouldn't have been picked since it has an empty
input shape, but bugs in mutter weren't properly interpreting that.

Since the Wayland restructure, the MetaWindowActor isn't actually
reactive anymore, it's the MetaSurfaceActorX11, so this code isn't
doing anything.

11 years agoUpdated Czech translation
Marek Černocký [Wed, 26 Nov 2014 11:06:33 +0000 (12:06 +0100)]
Updated Czech translation

11 years agoUpdated Hebrew translation
Yosef Or Boczko [Mon, 24 Nov 2014 18:04:18 +0000 (20:04 +0200)]
Updated Hebrew translation

11 years agoSt: support css margin property
Carlos Soriano [Tue, 11 Nov 2014 14:04:46 +0000 (15:04 +0100)]
St: support css margin property

It's implemented similar to the padding property, but instead of taking
into account the margin values at drawing time in node-drawing, we set
the clutter actor margins in StWidget when the style is computed.

In the case that a CSS margin is not specified, we don't to set a value
of 0 to the clutter actor margin. In this manner it allows to use
Clutter margin values set in the code. However, the margins that are set
both in the code and in the CSS on the same side, the result is
unpredictable.

We avoid to set the clutter actor margin values to 0 if there's no CSS
margin values defined, so we still allow clutter actors to use margin
set in the code.

https://bugzilla.gnome.org/show_bug.cgi?id=728437

11 years agogdm: fix sensitivity of auth prompt when cancelling early and user list is disabled
Ray Strode [Tue, 7 Oct 2014 18:30:34 +0000 (14:30 -0400)]
gdm: fix sensitivity of auth prompt when cancelling early and user list is disabled

If the user list is disabled and the user clicks cancel quickly enough
after typing their username, they can get in a state where the
auth prompt gets stuck in the insensitive state.

This is because the login dialog code makes the prompt insensitive
while while pam is processing the provided username, but the prompt
only makes itself sensitive again when it is hidden.

This commit makes it sensitive right before asking for a username again.

https://bugzilla.gnome.org/show_bug.cgi?id=740141

11 years agogdm: disallow cancel after verification succeeds
Ray Strode [Sun, 5 Oct 2014 20:27:00 +0000 (16:27 -0400)]
gdm: disallow cancel after verification succeeds

Once verification has succeeded, the train's already
left the building and we shouldn't allow canceling.

This commit renders the cancel button non-reactive
and makes the cancel function be a noop after
verification succeeds.

https://bugzilla.gnome.org/show_bug.cgi?id=740141

11 years agonetwork: properly remove connections from list
Ryan Lortie [Sun, 16 Nov 2014 23:50:14 +0000 (15:50 -0800)]
network: properly remove connections from list

Due to a typo we were always removing the first (index 0) connection
from the global list of connections instead of the correct one.

This resulted in some connections remaining in the shell's connection
list long after they were removed.  In particular, this resulted in
multiple copies of a bluetooth connection appearing after suspend/resume
(when the device was readded and the cached connection list was
rescanned).

https://bugzilla.gnome.org/show_bug.cgi?id=740227

11 years agoAdded Norwegian bokmål translation from Åka Sikrom.
Kjartan Maraas [Sun, 16 Nov 2014 11:29:57 +0000 (12:29 +0100)]
Added Norwegian bokmål translation from Åka Sikrom.

11 years agoUpdated Korean translation
Changwoo Ryu [Sat, 15 Nov 2014 18:55:45 +0000 (03:55 +0900)]
Updated Korean translation

11 years agoUpdate Vietnamese translation
Trần Ngọc Quân [Fri, 14 Nov 2014 07:17:57 +0000 (14:17 +0700)]
Update Vietnamese translation

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
11 years agoshellDBus: Emit a PropertyChanged for OverviewActive
Colin Walters [Sat, 13 Jul 2013 18:58:36 +0000 (14:58 -0400)]
shellDBus: Emit a PropertyChanged for OverviewActive

I was going to add another DBus property to signal when the shell was
done loading and was idle, and while implementing that I noticed we
aren't emitting PropertyChanged for, well, any property.  Let's fix
OverviewActive.

It's unfortunate it's so tedious to correctly implement a DBus
property =/

https://bugzilla.gnome.org/show_bug.cgi?id=704163

11 years agoshellDBus: don't consider a zero-index monitor invalid
Cosimo Cecchi [Thu, 13 Nov 2014 18:01:56 +0000 (10:01 -0800)]
shellDBus: don't consider a zero-index monitor invalid

Currently, shellDBus only uses the passed in monitor index if it's
strictly > 0. A zero-index monitor is a valid one though, so don't
restrict this to strictly positive indices.

https://bugzilla.gnome.org/show_bug.cgi?id=740074

11 years agoenvironment: Define N_() globally
Florian Müllner [Thu, 13 Nov 2014 12:20:44 +0000 (12:20 +0000)]
environment: Define N_() globally

Commit 1291bcd0c84 implemented it for dateMenu, but the function
is already used in screenShield as well. Just add it globally as
we do for other standard gettext "macros".

11 years agoibusManager: Preload all ibus input sources in user configuration
Takao Fujiwara [Mon, 10 Nov 2014 10:09:08 +0000 (19:09 +0900)]
ibusManager: Preload all ibus input sources in user configuration

Normally users switch xkb input sources and ibus input sources.
But currently the first input source only is running. It's also good
to preload all ibus engines in the logging session so that users switch
input sources quickly without the launching time of input sources.

The following is the ibus change:
https://github.com/ibus/ibus/commit/cff35929a9

https://bugzilla.gnome.org/show_bug.cgi?id=695428

11 years agoviewSelector: Hide workspace page after animating to app picker
Yuki [Sat, 8 Nov 2014 05:56:38 +0000 (13:56 +0800)]
viewSelector: Hide workspace page after animating to app picker

WorkspacesDisplay relies on being hidden to disable workspace switches
by scrolling or panning. Usually viewSelector will hide the previous
page on page switch, but we currently miss the case when opening the
overview at the app picker, where the workspaces page is still shown
for the transition, but never hidden.
Fix this by calling hide() in addition to setting the opacity to 0 at
the end of the overview animation.

https://bugzilla.gnome.org/show_bug.cgi?id=737534

11 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 12 Nov 2014 12:20:37 +0000 (13:20 +0100)]
Updated Spanish translation

12 years agoSet style classes for extension download dialog
William Jon McCann [Mon, 10 Nov 2014 15:09:09 +0000 (10:09 -0500)]
Set style classes for extension download dialog

So that the layout is correct.

https://bugzilla.gnome.org/show_bug.cgi?id=739888

12 years agodateMenu: Fix commit 52503c4c
Carlos Soriano [Mon, 10 Nov 2014 15:38:05 +0000 (16:38 +0100)]
dateMenu: Fix commit 52503c4c

dateMenu uses now N_() but the function is not defined.

To solve it, define N_().

12 years agoscreenShield: Don't lock after crash if locking is disabled
Adel Gadllah [Thu, 25 Jul 2013 22:21:30 +0000 (00:21 +0200)]
screenShield: Don't lock after crash if locking is disabled

When the user has disabled locking we shouldn't lock the screen.

https://bugzilla.gnome.org/show_bug.cgi?id=704884

12 years agojs: Fix util_translate_time_string() usage
Bastien Nocera [Sat, 8 Nov 2014 16:45:13 +0000 (17:45 +0100)]
js: Fix util_translate_time_string() usage

util_translate_time_string() was called to use LC_TIME to translate
strings, but those strings were not marked as to be translated.

https://bugzilla.gnome.org/show_bug.cgi?id=739822

12 years agoUpdate Aragonese translation
Daniel Martinez [Sat, 8 Nov 2014 18:15:27 +0000 (19:15 +0100)]
Update Aragonese translation

12 years agokeyboard: Delay caribou daemon invocation until really needed
Daiki Ueno [Thu, 6 Nov 2014 07:40:34 +0000 (16:40 +0900)]
keyboard: Delay caribou daemon invocation until really needed

Calling g_dbus_proxy_new without any flag means that the caribou
daemon will be launched through D-Bus activation, when creating
a proxy.  It smoked out some corner cases in caribou and at-spi2-core,
but generally it would be good to avoid creating unused process.

This patch delays the invocation until the "Run" method is called.

https://bugzilla.gnome.org/show_bug.cgi?id=739712

12 years agocalendar: Allow translators to change non-work days
Lavi .A [Wed, 23 Nov 2011 16:48:00 +0000 (16:48 +0000)]
calendar: Allow translators to change non-work days

https://bugzilla.gnome.org/show_bug.cgi?id=664645

12 years agoRevert "Calendar: Remove leading zeros for 24h time format"
Florian Müllner [Fri, 7 Nov 2014 15:13:13 +0000 (15:13 +0000)]
Revert "Calendar: Remove leading zeros for 24h time format"

Leading zeros are common in the 24h format, and indeed used in the
wallclock in the top bar. Convention and consistency within the
same clock format trumps inconsistency between different time formats,
so reverting commit 316f825b2ac718.

https://bugzilla.gnome.org/show_bug.cgi?id=658675

12 years agoCalendar: Remove leading zeros for 24h time format
Bastien Nocera [Fri, 7 Nov 2014 13:58:22 +0000 (14:58 +0100)]
Calendar: Remove leading zeros for 24h time format

https://bugzilla.gnome.org/show_bug.cgi?id=658675

12 years agodateMenu: Allow extensions to add custom calendar sources
Eskild Hustvedt [Wed, 21 Mar 2012 07:59:39 +0000 (08:59 +0100)]
dateMenu: Allow extensions to add custom calendar sources

Splits instantiation of the event source into a separate method,
allowing extensions to subclass the DateMenuButton and provide its
own calendar source.

https://bugzilla.gnome.org/show_bug.cgi?id=672500

12 years agorfkill: hide Airplane Mode indicator when g-s-d says so
Cosimo Cecchi [Mon, 8 Sep 2014 22:17:24 +0000 (15:17 -0700)]
rfkill: hide Airplane Mode indicator when g-s-d says so

https://bugzilla.gnome.org/show_bug.cgi?id=736292

12 years agorfkill: remove unused code
Cosimo Cecchi [Mon, 8 Sep 2014 22:13:57 +0000 (15:13 -0700)]
rfkill: remove unused code

https://bugzilla.gnome.org/show_bug.cgi?id=736292

12 years agoPort gnome-shell to Python 3
Slavek Kabrda [Fri, 29 Aug 2014 14:23:56 +0000 (16:23 +0200)]
Port gnome-shell to Python 3

https://bugzilla.gnome.org/show_bug.cgi?id=732478

12 years agoscreenShield: Recognise all Enter keys as Return
Christian Persch [Tue, 16 Jul 2013 16:40:50 +0000 (18:40 +0200)]
screenShield: Recognise all Enter keys as Return

Bug #704339.

12 years agost-button: Recognise all Enter keys as Return
Christian Persch [Tue, 16 Jul 2013 16:37:48 +0000 (18:37 +0200)]
st-button: Recognise all Enter keys as Return

Bug #704339.

12 years agobuild: Workaround quoting issues in configure script
Alexander Tsoy [Mon, 27 Oct 2014 13:45:10 +0000 (16:45 +0300)]
build: Workaround quoting issues in configure script

Default value of BROWSER_PLUGIN_DIR variable contains special symbols.
Thus quoting and inlining it in parameter expansion is not portable.
In particular it does not work in dash. Replace ${a:-b} parameter
expansion with conditional statement.

https://bugzilla.gnome.org/show_bug.cgi?id=739241

12 years agoportalHelper: Change user facing name to "Network Login"
Elad Alfassa [Tue, 23 Sep 2014 17:53:28 +0000 (20:53 +0300)]
portalHelper: Change user facing name to "Network Login"

"Captive Portal" is a bit confusing for people who are not familiar
with the technical term.

https://bugzilla.gnome.org/show_bug.cgi?id=737198

12 years agocss: Add an inset shadow to overview windows
Chris Johns [Thu, 13 Feb 2014 16:55:35 +0000 (16:55 +0000)]
css: Add an inset shadow to overview windows

A small dark gap was caused by the rounded window edges not meeting the
sharp corner of the CSS border on hover. By adding a small inset
box-shadow, this gap is filled in.

https://bugzilla.gnome.org/show_bug.cgi?id=699044

12 years agoMove style updates in AppIcon._onStateChanged out
Yuki [Sat, 1 Nov 2014 14:24:03 +0000 (22:24 +0800)]
Move style updates in AppIcon._onStateChanged out

There is currently no simple way to inject into AppIcon's state change,
so an extension that wants to do this has to destroy/remove/update all
icons in the Shell (i.e. in the Dash, AllView, FrequentView) on enable()
and disable() after updating AppIcon.prototype._onStateChange, or the
extension must require a restart of the Shell.

To solve this issue, we rename _onStateChanged to _updateRunningStyle,
and connect the notify::state signal with an anonymous function that
calls _updateRunningStyle.
This extra function call should allow extensions to just extend the
updateRunningStyle function in the prototype.

https://bugzilla.gnome.org/show_bug.cgi?id=739497

12 years agoUpdate Aragonese translation
Jorge Perez Perez [Thu, 6 Nov 2014 20:06:03 +0000 (21:06 +0100)]
Update Aragonese translation

12 years agodateMenu: Fix typo in _isToday()
Darcy [Thu, 23 Oct 2014 20:11:09 +0000 (07:11 +1100)]
dateMenu: Fix typo in _isToday()

getDay() is the day of week, what we want there is getDate().

https://bugzilla.gnome.org/show_bug.cgi?id=738725

12 years agobuild: Bump GTK+ requirement
Florian Müllner [Thu, 30 Oct 2014 14:27:50 +0000 (14:27 +0000)]
build: Bump GTK+ requirement

GTK_POLICY_EXTERNAL requires at least 3.15.0

12 years agoBump version to 3.15.1
Florian Müllner [Thu, 30 Oct 2014 11:13:39 +0000 (11:13 +0000)]
Bump version to 3.15.1

Update NEWS.

12 years agoappDisplay: Use EXTERNAL scroll policy
Florian Müllner [Wed, 29 Oct 2014 23:26:40 +0000 (00:26 +0100)]
appDisplay: Use EXTERNAL scroll policy

Now that we support the new policy type, we can just use it instead
of hiding the scrollbar.

https://bugzilla.gnome.org/show_bug.cgi?id=739379

12 years agoscroll-view: Support GTK_POLICY_EXTERNAL
Florian Müllner [Tue, 14 Oct 2014 11:50:29 +0000 (13:50 +0200)]
scroll-view: Support GTK_POLICY_EXTERNAL

GTK+ added a new PolicyType which currently triggers compiler warnings
about unhandled values in switch statements. We also have a use case for
it already, so add support for the new policy type.

https://bugzilla.gnome.org/show_bug.cgi?id=739379

12 years agoCalendar: Inline _ellipsizeEventTime into caller
Andreas Brauchli [Mon, 27 Oct 2014 22:35:35 +0000 (12:35 -1000)]
Calendar: Inline _ellipsizeEventTime into caller

This patch inlines the function _ellipsizeEventTime into its only caller
_addEvent. This also removes the need for the global const
EventEllipses and is thus removed by this commit as well.

https://bugzilla.gnome.org/show_bug.cgi?id=727302

12 years agoCalendar: sort multi-day events by ending day/time
Andreas Brauchli [Thu, 18 Sep 2014 01:34:40 +0000 (15:34 -1000)]
Calendar: sort multi-day events by ending day/time

With commit dc6a60dde, the calendar displays the ending day and time of
a continuing multi-day event on its ending day. This results in the list
not appearing to be sorted. This patch sorts the list according to the
displayed day/time.

With the two appointments
Thursday 0800-1000 Foo, and Wednesday 0900-Friday 1200 Bar and today
being Monday, the rest of the week list currently displays:
F ...1200 Bar
T    0800 Foo
With this patch, the displaying order is switched because Friday comes
after Thursday.

https://bugzilla.gnome.org/show_bug.cgi?id=727302

12 years agoCalendar: Show multi-day event continuation
Andreas Brauchli [Thu, 18 Sep 2014 01:32:13 +0000 (15:32 -1000)]
Calendar: Show multi-day event continuation

Currently, multi-day events are shown as individual appointments on each
day.  This patch ellipsizes multi-day events to indicate continuation on
the prior or following day (or other time-period.)

The time label spot is now replaced by a box layout that contains the
prefix ellipsis label, the time label and the postfix ellipsis label.
In order to keep the alignment, ellipses are merely invisible (zero
opacity) when hidden.

The ellipses are styled using the events-day-time-ellipses class which,
by default, take the color of the event text.

When RTL is used, the box contents are adjusted accordingly (clutter
does that for us).

An event spanning three days now displays "...All Day..." in the
calendar on the second day.

https://bugzilla.gnome.org/show_bug.cgi?id=727302

12 years agomessageTray: Summarize notifications when messages queue up
Devyani Kota [Tue, 21 Oct 2014 11:45:31 +0000 (17:15 +0530)]
messageTray: Summarize notifications when messages queue up

It is really annoying for the user to acknowledge multiple notifications
when they queue up. So, to prevent a notification flood that has to be
handled by the user one-by-one, a summarized-notification feature is
added which leaves a single summarized-notification for the user,
replacing multiple notifications if the number exceeds 1, which they may
or may not acknowledge. When this summarized-notification is acknowledged,
the message-tray is opened where they can view the notifications that were
summarized. This helps the user concentrate on his primary task
simultaneously informing them about the new notifications.

https://bugzilla.gnome.org/show_bug.cgi?id=702460

12 years agoBackgroundCache: plug an Animation object leak
Rui Matos [Mon, 27 Oct 2014 15:45:31 +0000 (16:45 +0100)]
BackgroundCache: plug an Animation object leak

We need to return early in case the animation file is the same,
otherwise we'll create a new Animation object and leak the previous
one.

https://bugzilla.gnome.org/show_bug.cgi?id=739252

12 years agoUpdate Uzbek@cyrillic translation
Bahodir Mansurov [Sun, 19 Oct 2014 17:41:47 +0000 (13:41 -0400)]
Update Uzbek@cyrillic translation

12 years agoUpdate Uzbek@cyrillic translation
Bahodir Mansurov [Sat, 18 Oct 2014 23:44:50 +0000 (19:44 -0400)]
Update Uzbek@cyrillic translation

12 years agoUse LC_TIME locale for strftime format string translations
Florian Müllner [Thu, 16 Oct 2014 12:38:13 +0000 (14:38 +0200)]
Use LC_TIME locale for strftime format string translations

We commonly mark strftime format strings for translation to account
for date/time representations without an existing strftime shortcut
("Yesterday %H%p"). As those translations are looked up according to
the locale defined by LC_MESSAGES, while the conversion characters
themselves are resolved according to LC_TIME, the result can be
rather odd when mixing locales ("Den 27. January"). The correct
solution would be to install translations for format strings in
the LC_TIME catalogue and look them up with dcgettext(), but we
don't have the infrastructure to do that easily. Work around this
by adding a helper method that looks up a string in LC_MESSAGES
using the locale defined by LC_TIME and use that to translate
format strings, which has the same result.

https://bugzilla.gnome.org/show_bug.cgi?id=738640

12 years agoFix handling of SystemBackground
Owen W. Taylor [Thu, 16 Oct 2014 20:45:02 +0000 (16:45 -0400)]
Fix handling of SystemBackground

Since the background rework, SystemBackground is no longer a transparent
actor that you have to stack on top of a solid background, it is an
opaque actor. Fix the color of the background actor, and remove places
where we were setting the background color underneath the system background
and expecting blending - in particular, we can always set no_clear_hint
on the stage.

https://bugzilla.gnome.org/show_bug.cgi?id=738652

12 years agolayout: Reset the OSK to the primary monitor when monitors change
Rui Matos [Mon, 13 Oct 2014 15:43:39 +0000 (17:43 +0200)]
layout: Reset the OSK to the primary monitor when monitors change

When monitors change, the previous index might not mean the same
physical monitor anymore, in fact, it might become invalid. In the
latter case, we'll actually get a JS error when accessing
this.keyboardMonitor in _updateKeyboardBox() . To avoid this, let's
just always reset the OSK to the primary monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=738536

12 years agoAdd Uzbek@cyrillic translation
Bahodir Mansurov [Thu, 16 Oct 2014 13:49:20 +0000 (09:49 -0400)]
Add Uzbek@cyrillic translation

12 years agomain: Allow loading file-based stylesheets again
Jasper St. Pierre [Wed, 15 Oct 2014 05:25:30 +0000 (22:25 -0700)]
main: Allow loading file-based stylesheets again

The gnome-classic mode ships a stylesheet on disk, so make sure to load
that if if we can't find any file in the resource itself.

12 years agogdm: Don't throw an error if there's no logo file
Jasper St. Pierre [Wed, 15 Oct 2014 02:59:29 +0000 (19:59 -0700)]
gdm: Don't throw an error if there's no logo file

12 years agotheme: make a GResource
Cosimo Cecchi [Fri, 19 Sep 2014 02:24:46 +0000 (19:24 -0700)]
theme: make a GResource

Now that we have all the infrastructure ready, port the theme to a
GResource.

https://bugzilla.gnome.org/show_bug.cgi?id=736936

12 years agotheme: convert stylesheet loading to GFile
Cosimo Cecchi [Fri, 19 Sep 2014 02:22:02 +0000 (19:22 -0700)]
theme: convert stylesheet loading to GFile

In preparation to making it a GResource.

https://bugzilla.gnome.org/show_bug.cgi?id=736936

12 years agost: always use GFile internally
Cosimo Cecchi [Fri, 19 Sep 2014 00:04:00 +0000 (17:04 -0700)]
st: always use GFile internally

We're moving the theme infrastructure towards GResource, so as a first
step move all the loading to use GFiles instead of URIs or paths.

https://bugzilla.gnome.org/show_bug.cgi?id=736936

12 years agobackground: port to new GFile MetaBackground API
Cosimo Cecchi [Fri, 19 Sep 2014 01:32:52 +0000 (18:32 -0700)]
background: port to new GFile MetaBackground API

https://bugzilla.gnome.org/show_bug.cgi?id=736936

12 years agotexture-cache: remove unused base64 code path
Cosimo Cecchi [Fri, 19 Sep 2014 00:05:04 +0000 (17:05 -0700)]
texture-cache: remove unused base64 code path

This was introduced in b0c6cf3f to support image data for web search
providers, which do not exist anymore. Just remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=736936

12 years agokeyboardManager: Adopt to changes in meta_display_freeze_keyboard
Jasper St. Pierre [Mon, 13 Oct 2014 04:52:56 +0000 (21:52 -0700)]
keyboardManager: Adopt to changes in meta_display_freeze_keyboard

12 years agoBump version to 3.14.1
Florian Müllner [Tue, 14 Oct 2014 19:04:00 +0000 (21:04 +0200)]
Bump version to 3.14.1

Update NEWS.

12 years agoStWidget: carefully clear ->accessible pointer to avoid resurrection
Owen W. Taylor [Wed, 8 Oct 2014 11:54:09 +0000 (07:54 -0400)]
StWidget: carefully clear ->accessible pointer to avoid resurrection

The pointer to ->accessible was cleared too early in dispose, which
resulted in another accessible object being created when the actor
was removed from its parent in clutter_actor_dispose(). Use a
weak reference instead to clear the ->accessible pointer.

https://bugzilla.gnome.org/show_bug.cgi?id=738147

12 years agomessageTray: add some missing signal disconnections
Owen W. Taylor [Thu, 9 Oct 2014 18:31:04 +0000 (14:31 -0400)]
messageTray: add some missing signal disconnections

Disconnect some signal connections that weren't disconnected on actor destroy
(not the result of comprehensive review.)

https://bugzilla.gnome.org/show_bug.cgi?id=738256

12 years agogdm: fix missing braces
Owen W. Taylor [Thu, 9 Oct 2014 18:25:48 +0000 (14:25 -0400)]
gdm: fix missing braces

Incorrect braces meant that if the ShellUserVerifier was destroyed before
the call to fprintManager.GetDefaultDeviceRemote(), the reply would result in
an error.

https://bugzilla.gnome.org/show_bug.cgi?id=738256

12 years agogdm: disconnect signals
Owen W. Taylor [Thu, 9 Oct 2014 18:10:12 +0000 (14:10 -0400)]
gdm: disconnect signals

Many signal connections on global objects and on non-widgets were not
disconnected when the unlock screen was destroyed, causing leaks.

https://bugzilla.gnome.org/show_bug.cgi?id=738256

12 years agoAuthPrompt: properly remove user widgets
Owen W. Taylor [Thu, 9 Oct 2014 16:05:11 +0000 (12:05 -0400)]
AuthPrompt: properly remove user widgets

When replacing a user widget, we need to destroy the child, not just
unparent it, or it will leak.

https://bugzilla.gnome.org/show_bug.cgi?id=738256

12 years agoapp-well: Set menu width
Adel Gadllah [Sun, 12 Oct 2014 07:41:30 +0000 (09:41 +0200)]
app-well: Set menu width

Currently the app well menu has unrestricted with which can cause it to grow
with long window titles and can even go offscreen that way.

So set a max size, long titles will now be properly elipised.

https://bugzilla.gnome.org/show_bug.cgi?id=738054

12 years agowindow-tracker: Also listen for changes in the gtk-application-id
Jasper St. Pierre [Mon, 13 Oct 2014 00:20:22 +0000 (17:20 -0700)]
window-tracker: Also listen for changes in the gtk-application-id

Wayland applications don't tend to have very useful WM Class properties,
as GTK+ isn't very good at picking an appropriate application ID. While
we should likely fix GTK+ to pick a better app ID, we do have the
existing gtk_shell for more accurate information. The only problem is
that the gtk_surface is set after the MetaWindow is constructed, and
we're not listening for changes on the GTK+ application ID.

Listen to changes on the GTK+ application ID to fix app tracking for
most GTK+ applications under Wayland.

12 years agowindow-tracker: Fix minor style issue
Jasper St. Pierre [Mon, 13 Oct 2014 00:20:12 +0000 (17:20 -0700)]
window-tracker: Fix minor style issue

12 years agost: Bail out on clipboard requests if there is no text.
Carlos Garnacho [Fri, 10 Oct 2014 17:12:27 +0000 (19:12 +0200)]
st: Bail out on clipboard requests if there is no text.

If a selection request happens through foreign means, the selected
text is NULL, and a crash happens.

https://bugzilla.gnome.org/show_bug.cgi?id=738314

12 years agostatus/keyboard: Ensure we always have at least one input source
Rui Matos [Fri, 10 Oct 2014 13:54:30 +0000 (15:54 +0200)]
status/keyboard: Ensure we always have at least one input source

Most of the code handles the sources setting being empty and
InputSourceManager.currentSource being null because previously the
"model" (i.e. the sources list) was kept in gnome-settings-daemon.

But this is fragile and since we're now the canonical place where the
list lives we can force it to never be empty even if the gsetting is
empty or contains only invalid entries.  Adding the default keyboard
layout in that case is the safest thing to do.

https://bugzilla.gnome.org/show_bug.cgi?id=738303

12 years agooverviewControls: Really fix x align
Florian Müllner [Fri, 10 Oct 2014 08:58:42 +0000 (10:58 +0200)]
overviewControls: Really fix x align

Commit a4475465f1f2 fixed the wrong alignment for the fully visible
control, but regressed the partially slid-out one; take the slideX
factor into account to get the right offset for both cases.